Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/ contact-groups - api, router store [WTEL-4740] #130

Open
wants to merge 1 commit into
base: feat/lookups-pr
Choose a base branch
from

Conversation

SviatoslavBar
Copy link
Contributor

No description provided.

@SviatoslavBar SviatoslavBar changed the base branch from master to feat/lookups-pr September 15, 2024 18:39
generateUrl,
} from '@webitel/ui-sdk/src/api/transformers/index.js';

import instance from '../../../../../../../app/api/instance';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

імпорти краще робити з розширенням файлу, по можливості, щоб потім не було проблем з білдами
імпорти без розширення -- це фішка commonjs модулів, що в esm модулях, більш нових, вже не канає

Comment on lines +29 to +37
const permissions = new PermissionsStoreModule()
.generateAPIActions(PERMISSIONS_API_URL)
.getModule();

const history = new HistoryStoreModule()
.generateGetListAction(ContactGroupsAPI.getAgentHistory)
.getModule();

const contactGroups = new ObjectStoreModule({ resettableState, headers })
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

пермішени модуль точно з адмінки
а інші 2?

то не комільфо, треба переробити з новими модулями
я мінімум там, де нові модулі вже є
якщо що, напиши мені, розберемось)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants